package com.xcj.juhe.mapper.test1;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


/**
 * @author xcj
 * @date 2021/4/25 17:12
 */
@Repository("UserMapper1")
public interface UserMapper {

    //通过用户id查询用户名
    public String selectUserNameByUserId(@Param(value = "userId") String userId);

    public int UpdateUserCreateTimeByUserId(@Param("userId") String userId, @Param("time") String time);

    public int UpdateUserLoginTimeByUserId(@Param("userId") String userId, @Param("time") String timeStr);

    public String selectUserRegTimeByUserId(@Param("userId") String userId);
}
